package com.dailyblue.java.jdbc.pack0325.test;

import com.dailyblue.java.jdbc.pack0325.bean.Emp;
import com.dailyblue.java.jdbc.pack0325.dao.EmpDAO;
import com.dailyblue.java.jdbc.pack0325.serivce.EmpService;


public class App {
    public static void main(String[] args) {
       /* EmpDAO dao = new EmpDAO();
        *//*Emp emp = new Emp(7947, "秋一凡", "MANAGER", 7788, "2011-11-11", 3600.2, 100.0, 10, 1);
        dao.updateEmp(emp);*//*
        //dao.findAllEmp().forEach(System.out::println);
        System.out.println(dao.findEmpByNo(7941));*/
        /*EmpService service = new EmpService();
        System.out.println(service.findEmpByNo2(7941));*/
        EmpDAO dao = new EmpDAO();
        dao.findAllEmp().forEach(System.out::println);
    }
}
